#!/bin/bash

cur_dir=`pwd`
docker stop imock-thrift-mysql
docker rm imock-thrift-mysql

docker run --name imock-thrift-mysql -v ${cur_dir}/conf:/etc/mysql/conf.d -v ${cur_dir}/data:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aA111111 -d mysql:5.7
